
#ifndef MYSTATUSBAR_H
#define MYSTATUSBAR_H

#include <qstatusbar.h>

class QLabel;
class MainWindow;

class MyStatusBar:public QStatusBar
{
 public:
   MyStatusBar (QWidget * parent = 0, const char *name = 0);
   QLabel *message_label[6];
   void showMessage (QString);
   void showMessage (QString[6]);

 protected:
   void mousePressEvent (QMouseEvent *);
   void mouseReleaseEvent (QMouseEvent *);
   void leaveEvent (QEvent *);
 private:
   int flag_state;
   MainWindow *mainwindow;

};

#endif
